textbuffer: unit tests for the empty last line
authorSébastien Wilmet <swilmet@gnome.org>
Wed, 20 Aug 2014 14:57:05 +0000 (16:57 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Thu, 21 Aug 2014 16:43:34 +0000 (18:43 +0200)
commit83bc0c4bb19ac0a61553aba6e9a370aba0ab6e13
tree89cfff52b03d61b4db2c4a0a35619f9d5179a169
parent7645d201d408964f8ade769e59517e6a98a02364
textbuffer: unit tests for the empty last line

For functions using _gtk_text_buffer_get_line_log_attrs():
- gtk_text_buffer_backspace()
- some gtk_text_iter functions (word/sentence/cursor boundaries)

As the FIXME comments show, there is a bug with
gtk_text_iter_is_cursor_position() for an empty last line.

https://bugzilla.gnome.org/show_bug.cgi?id=156164
testsuite/gtk/textbuffer.c
testsuite/gtk/textiter.c